<template>
  <div>
    <el-form ref="ruleForm" :model="updateForm" label-width="180px">
      <el-form-item label="任务分配模式：">
        <el-radio-group v-model="updateForm.taskRadio">
          <el-radio label="1" size="large">只允许分配给下级 </el-radio>
          <el-radio label="2" size="large">随意分配 </el-radio>
        </el-radio-group>
      </el-form-item>
      <el-form-item label="工单分配模式：">
        <el-radio-group v-model="updateForm.workRadio">
          <el-radio label="1" size="large">只允许分配给下级 </el-radio>
          <el-radio label="2" size="large">随意分配 </el-radio>
        </el-radio-group>
      </el-form-item>
      <el-form-item label="回款逾期提醒：">
        <el-input v-model.trim="updateForm.input1" style="width: 260px">
          <template #append>天</template>
        </el-input>
      </el-form-item>
      <el-form-item label="">
        <div style="margin-top: -16px; color: #888">
          回款逾期将在以上前日期提前通知
        </div>
      </el-form-item>
      <el-form-item label="订单到期提醒：">
        <el-input v-model.trim="updateForm.order" style="width: 260px">
          <template #append>天</template>
        </el-input>
      </el-form-item>
      <el-form-item label="">
        <div style="margin-top: -16px; color: #888">
          订单到期将在以上前日期提前通知
        </div>
      </el-form-item>
      <el-form-item label="上传文件限制：">
        <el-input v-model.trim="updateForm.input3" style="width: 260px">
          <template #append>MB</template>
        </el-input>
      </el-form-item>
      <el-form-item label="">
        <div style="margin-top: -16px; color: #888">
          限定单个文件上传的最大值（可填写 1~20 整数）
        </div>
      </el-form-item>
    </el-form>
    <div style="margin-left: 180px; padding-bottom: 50px">
      <el-button
        type="primary"
        @click="handleSubmit()"
        :loading="loading"
        size="medium"
        >保存</el-button
      >
    </div>
  </div>
</template>
<script setup name="otherForm">
import { ref, getCurrentInstance, toRefs, reactive } from 'vue'
const { proxy } = getCurrentInstance()
const updateForm = reactive({
  taskRadio: '1',
  workRadio: '1',
  input1: 7,
  order: 7,
  input3: 20
})
const ruleForm = ref()
function handleSubmit() {}
</script>
<style lang="scss" scoped></style>
